# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libspectre
pkgver=0.2.8
pkgrel=1
pkgdesc="Small library for rendering Postscript documents"
arch=('i686' 'x86_64')
license=('GPL2')
url="https://www.freedesktop.org/wiki/Software/libspectre"
depends=('ghostscript>=9.00')
source=(http://libspectre.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
sha1sums=('322499a5ba8874bc0cc20426b0e429024bf1a573')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
